﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// Duplicate data violation. Fix the data which is duplicated and re-post.
	/// </summary>
	public class DuplicateDataViolation : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.DuplicateDataViolation class.
		/// </summary>
		public DuplicateDataViolation(Exception innerException)
			: base(15, innerException, "Duplicate data violation. Fix the data which is duplicated and re-post.")
		{
		}
	}
}
